package com.lxl.xm.model.vo;

import com.lxl.xm.model.entity.Advertiser;

public class AdvertiserVOToAdvertiser {
    public static Advertiser toAdvertiser(AdvertiserVO advertiserVO){
        Advertiser advertiser = new Advertiser();

        advertiser.setAdvertiserName(advertiserVO.getAdvertiserName());
        advertiser.setAdvertiserPassword(advertiserVO.getAdvertiserPassword());
        advertiser.setEmail(advertiserVO.getEmail());

        return advertiser;
    }
}
